Repository navigation
Conversation
- dlg_get_json_out(): release vals_lock when the 32 KB JSON buffer is exhausted (get_dialogs_by_profile/by_val left a reader behind, causing the dlg-dbupdate timer to block holding the hash bucket lock) - check_dlg_value(): release vals_lock on integer/boolean match - internal_mi_print_dlg(): release vals_lock when adding an int or bool dialog value fails - mi_match_print_dlg(): release the bucket lock if result alloc fails - dlg_onreq_out(): do not release a bucket lock that was never taken
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Currently there were several dialog module bugs related to locking, which could potentially causes deadlocks in certain scenarios.
Details
Solution
Release locks on all error cases.